//
//  KABExhibitionTCell.h
//  kabu
//
//  Created by XiangDongMBP on 2017/2/10.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class KABExhibitionTCell;
@protocol KABExhibitionTCellDelegate <NSObject>
@optional
- (void)kABExhibitionTCell:(KABExhibitionTCell *)cell imgViewTapped:(UIImageView *)imgView;
- (void)kABExhibitionTCell:(KABExhibitionTCell *)cell buyBtnTapped:(UIButton *)btn;
@end

@class KABExhListItem;
@interface KABExhibitionTCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *posterImgView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UIButton *buyBtn;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@property (weak, nonatomic) IBOutlet UILabel *cntLabel;

@property (weak, nonatomic) id<KABExhibitionTCellDelegate>delegate;

- (void)configViewWithExhListItem:(KABExhListItem *)item;

@end

@interface KABExhibitionTCell (ExhibitionDetail)
- (void)configViewWithExhDetail:(KABExhListItem *)item;
@end


@interface KABExhibitionTCell (ExhSureOrder)
- (void)configViewWithExhSureOrder:(KABExhListItem *)item;
@end

